package fun.coding.scopley;

import java.util.ArrayList;

public class Node {

    private String value;
    private ArrayList<Node> children;
    
    public Node(String value, ArrayList<Node> children) {
        this.value = value;
        this.children = children;
    }
    
    public Node() {
        this.value = "";
        this.children = new ArrayList<Node>();
    }
    
    public String getValue() {
        return value;
    }
    
    public void setValue(String value) {
        this.value = value;
    }
    
    public ArrayList<Node> getChildren() {
        return children;
    }
    
    public void setChildren(ArrayList<Node> children) {
        this.children = children;
    }
    
}
